{extend name="homePage/userPage" /}
{block name="css"}
{/block}
{block name="main"}
    <div style="border:1px solid #ccc">
            <form class="form-horizontal" method="post" action="{:url('index/UserIndex/editposition')}" onsubmit="return checkFrom()">
                <input type="hidden" name="id" value="{$userinfo.id}">
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">部门名称</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="text" class="form-control name" id="exampleInputAccount4" name="classname" value="{$classname}" disabled>
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">姓名</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="text" class="form-control name" id="exampleInputAccount4" name="name" value="{$userinfo.name}" disabled>
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">原职位</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="text" class="form-control name" id="exampleInputAccount4" name="posi"  value="{$userinfo.position}" disabled >
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">新职位</label>
                    <div class="col-md-6 col-sm-10">
                        <select name="position" id="">
                            <option value="副局长">副局长</option>
                            <option value="文秘">文秘</option>
                            <option value="普通职员">普通职员</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                      <button type="submit" class="btn btn-default">提交</button>
                      <button type="reset" class="btn btn-default">重置</button>
                    </div>
                </div>
                </form>

    </div>

{/block}
{block name="block"}
{/block}

